<template>
    <div>
        <el-button type="text" @click="dialogVisible = true">点击打开 Dialog</el-button>

        <el-dialog
            title="审核"
            :visible.sync="dialogVisible"
            width="30%"
            :before-close="handleClose">
            <div style="margin-bottom: 10px">
                <el-radio v-model="radio" label="1">已审核</el-radio>
                <el-radio v-model="radio" label="2">退回</el-radio>
            </div>
            <div>
                <div class="label">备注:</div>
                <el-input
                    type="textarea"
                    :autosize="{ minRows: 2, maxRows: 4}"
                    placeholder="请输入内容"
                    v-model="textarea3">
                </el-input>
            </div>
            <span slot="footer" class="dialog-footer">
    <el-button @click="dialogVisible = false">取 消</el-button>
    <el-button type="primary" @click="dialogVisible = false">保 存</el-button>
  </span>
        </el-dialog>
    </div>
</template>

<script>
    export default {
        name: "shenhe",
        data() {
            return{
                textarea3: '',
                radio:'1',
                dialogVisible: false
            }
        },
        methods:{
            handleClose(done) {
                this.$confirm('确认关闭？')
                    .then(_ => {
                        done();
                    })
                    .catch(_ => {});
            }
        }
    }
</script>

<style scoped>

</style>
